x11: Add call to XInitThreads()
authorBenjamin Otte <otte@redhat.com>
Thu, 12 Jan 2017 01:01:07 +0000 (02:01 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 12 Jan 2017 01:01:07 +0000 (02:01 +0100)
commitd54117024c08b2de3f2ea08a3730040734a1bd43
treeda7241842e75073e2c05edd8cb01fe8d033dcf1a
parent0868757cfd78295f5dedce1ae83ae95b32460947
x11: Add call to XInitThreads()

The Mesa Vulkan drivers need XInitThreads() being called, because their
implementation has to use threads.

And I don't want to make the call depend on if Vulkan is compiled in
because that makes GTK's X11 behavior depend on compile-time flags, so
it's always called.
gdk/x11/gdkdisplay-x11.c